package net.shambolica.jport.test;

import net.shambolica.jport.runner.JPortSimpleRunner;
import net.shambolica.jport.runner.DataConnection;
import org.slf4j.Logger;

import java.io.IOException;

/**
 * I am used for the bidirectional blast test.
 */
public class BidiTestMain extends JPortSimpleRunner {

    public BidiTestMain(Logger log) {
        super(BidiTestMain.class);
    }


    protected int run(DataConnection io) throws IOException, InterruptedException {

        // TODO: Read init params (n packets, packet type and gen args).

        // TODO: Create writer + wait future.

        // TODO: Read, then wait for writer.

        // TODO: exit 0.

        return 1;
        
    }
    
}
